﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class Administrator_ThungRac : System.Web.UI.Page
{
    ThungRacDA trda = new ThungRacDA();
    protected void Page_Load(object sender, EventArgs e)
    {

    }
    protected void Button1_Click(object sender, EventArgs e)
    {
        this.MultiView1.ActiveViewIndex = 0;
    }
    protected void Button2_Click(object sender, EventArgs e)
    {
        this.MultiView1.ActiveViewIndex = 1;
    }
    protected void Button3_Click(object sender, EventArgs e)
    {
        this.MultiView1.ActiveViewIndex = 2;
    }
    protected void Button4_Click(object sender, EventArgs e)
    {
        this.MultiView1.ActiveViewIndex = 3;
    }
    protected void Button5_Click(object sender, EventArgs e)
    {
        trda.XoaThungRacThuongHieu();
        this.DataBind();
    }
    protected void Button6_Click(object sender, EventArgs e)
    {
        trda.XoaThuongRacLoai();
        this.DataBind();
    }
    protected void Button7_Click(object sender, EventArgs e)
    {
        trda.XoaThungRacChucNang();
        this.DataBind();
    }
    protected void Button8_Click(object sender, EventArgs e)
    {
        trda.XoaThungRacSP();
        this.DataBind();
    }
}